.allshop .class_box {
    display: flex;  
}
.allshop .class_box div{
    width: 20%;
    text-align: center;
}
.allshop .allshop_box {
    display: flex; 
    flex-wrap: wrap; 
}
.allshop .allshop_box .shopbox1 {
     width: 45%;
     margin: 5px;
     display: flex;
     flex-direction: column;
}
.allshop .allshop_box .shopbox1 img {
    width: 100%;
}